home *** CD-ROM | disk | FTP | other *** search
- This ramdisk starts out with no memory. To allocate memory for it use:
- setram drive kbytes
- where drive is the drive letter and kbytes is the number of kbytes to alloc.
- Memory can only be allocated when there is currently no memory allocated
- to the ramdisk.
- example, if the ramdisk is drive e and a 68k ramdisk is desired
- setram e 68
-
- To deallocate the memory that was allocated for the ramdisk, use:
- setram drive
- where drive is the drive letter.
- example, if the ramdisk is drive e
- setram e
-
- This ramdisk allows up to 32 directory entries in the root directory.
- To use it, there must be a line in the config.sys file
- device=ram.sys
- and if an initial ramdisk is desired, the line
- setram drive kbytes
- can be put in the autoexec.bat file.
-
- Don't allocate memory if there is currently in memory a program that will
- terminate and free up its memory, as the setram memory will be allocated after
- this program and memory will become segmented. Also, don't run a
- terminate-and-stay-resident program when memory is allocated for the ramdisk
- because when the ramdisk memory is deallocated memory will be segmented.
- If memory is deallocated in a .bat file, then memory will be segmented until
- the .bat file terminates, so don't do anything in that bat file after
- a deallocation if this segmentation could cause a problem (such as
- reallocating memory with setram or running a terminate and stay resident
- program).
-